<?
/**
 * <b>DisputeType Class</b>
 * Published 04/11/2010 18:59:16
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('DisputeReasonCodeType.php');
require_once('TradingRoleCodeType.php');
require_once('UserIDType.php');
require_once('DisputeIDType.php');
require_once('DisputeCreditEligibilityCodeType.php');
require_once('DisputeRecordTypeCodeType.php');
require_once('DisputeMessageType.php');
require_once('DisputeExplanationCodeType.php');
require_once('DisputeStatusCodeType.php');
require_once('ItemType.php');
require_once('DisputeResolutionType.php');
require_once('DisputeStateCodeType.php');

class DisputeType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var UserIDType $BuyerUserID
	public $BuyerUserID;
	// @var dateTime $DisputeCreatedTime
	public $DisputeCreatedTime;
	// @var DisputeCreditEligibilityCodeType $DisputeCreditEligibility
	public $DisputeCreditEligibility;
	// @var DisputeExplanationCodeType $DisputeExplanation
	public $DisputeExplanation;
	// @var DisputeIDType $DisputeID
	public $DisputeID;
	// @var DisputeMessageType $DisputeMessage
	public $DisputeMessage;
	// @var dateTime $DisputeModifiedTime
	public $DisputeModifiedTime;
	// @var DisputeReasonCodeType $DisputeReason
	public $DisputeReason;
	// @var DisputeRecordTypeCodeType $DisputeRecordType
	public $DisputeRecordType;
	// @var DisputeResolutionType $DisputeResolution
	public $DisputeResolution;
	// @var DisputeStateCodeType $DisputeState
	public $DisputeState;
	// @var DisputeStatusCodeType $DisputeStatus
	public $DisputeStatus;
	// @var boolean $Escalation
	public $Escalation;
	// @var ItemType $Item
	public $Item;
	// @var string $OrderLineItemID
	public $OrderLineItemID;
	// @var string $OtherPartyName
	public $OtherPartyName;
	// @var TradingRoleCodeType $OtherPartyRole
	public $OtherPartyRole;
	// @var boolean $PurchaseProtection
	public $PurchaseProtection;
	// @var UserIDType $SellerUserID
	public $SellerUserID;
	// @var string $TransactionID
	public $TransactionID;
	// @var TradingRoleCodeType $UserRole
	public $UserRole;
 /** End Properties **/

/**
 *
 * @return UserIDType
 */
	function getBuyerUserID(){
		return $this->BuyerUserID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBuyerUserID($value){
		$this->BuyerUserID = $value;
	}


/**
 *
 * @return dateTime
 */
	function getDisputeCreatedTime(){
		return $this->DisputeCreatedTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeCreatedTime($value){
		$this->DisputeCreatedTime = $value;
	}


/**
 *
 * @return DisputeCreditEligibilityCodeType
 */
	function getDisputeCreditEligibility(){
		return $this->DisputeCreditEligibility;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeCreditEligibility($value){
		$this->DisputeCreditEligibility = $value;
	}


/**
 *
 * @return DisputeExplanationCodeType
 */
	function getDisputeExplanation(){
		return $this->DisputeExplanation;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeExplanation($value){
		$this->DisputeExplanation = $value;
	}


/**
 *
 * @return DisputeIDType
 */
	function getDisputeID(){
		return $this->DisputeID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeID($value){
		$this->DisputeID = $value;
	}


/**
 *
 * @return DisputeMessageType
 */
	function getDisputeMessage(){
		return $this->DisputeMessage;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeMessage($value){
		$this->DisputeMessage = $value;
	}


/**
 *
 * @return dateTime
 */
	function getDisputeModifiedTime(){
		return $this->DisputeModifiedTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeModifiedTime($value){
		$this->DisputeModifiedTime = $value;
	}


/**
 *
 * @return DisputeReasonCodeType
 */
	function getDisputeReason(){
		return $this->DisputeReason;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeReason($value){
		$this->DisputeReason = $value;
	}


/**
 *
 * @return DisputeRecordTypeCodeType
 */
	function getDisputeRecordType(){
		return $this->DisputeRecordType;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeRecordType($value){
		$this->DisputeRecordType = $value;
	}


/**
 *
 * @return DisputeResolutionType
 */
	function getDisputeResolution(){
		return $this->DisputeResolution;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeResolution($value){
		$this->DisputeResolution = $value;
	}


/**
 *
 * @return DisputeStateCodeType
 */
	function getDisputeState(){
		return $this->DisputeState;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeState($value){
		$this->DisputeState = $value;
	}


/**
 *
 * @return DisputeStatusCodeType
 */
	function getDisputeStatus(){
		return $this->DisputeStatus;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisputeStatus($value){
		$this->DisputeStatus = $value;
	}


/**
 *
 * @return boolean
 */
	function getEscalation(){
		return $this->Escalation;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setEscalation($value){
		$this->Escalation = $value;
	}


/**
 *
 * @return ItemType
 */
	function getItem(){
		return $this->Item;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setItem($value){
		$this->Item = $value;
	}


/**
 *
 * @return string
 */
	function getOrderLineItemID(){
		return $this->OrderLineItemID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOrderLineItemID($value){
		$this->OrderLineItemID = $value;
	}


/**
 *
 * @return string
 */
	function getOtherPartyName(){
		return $this->OtherPartyName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOtherPartyName($value){
		$this->OtherPartyName = $value;
	}


/**
 *
 * @return TradingRoleCodeType
 */
	function getOtherPartyRole(){
		return $this->OtherPartyRole;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOtherPartyRole($value){
		$this->OtherPartyRole = $value;
	}


/**
 *
 * @return boolean
 */
	function getPurchaseProtection(){
		return $this->PurchaseProtection;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPurchaseProtection($value){
		$this->PurchaseProtection = $value;
	}


/**
 *
 * @return UserIDType
 */
	function getSellerUserID(){
		return $this->SellerUserID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSellerUserID($value){
		$this->SellerUserID = $value;
	}


/**
 *
 * @return string
 */
	function getTransactionID(){
		return $this->TransactionID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTransactionID($value){
		$this->TransactionID = $value;
	}


/**
 *
 * @return TradingRoleCodeType
 */
	function getUserRole(){
		return $this->UserRole;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setUserRole($value){
		$this->UserRole = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("DisputeType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"BuyerUserID"=>
					array(
						"required"=>false,
						"type"=>"UserIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeCreatedTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeCreditEligibility"=>
					array(
						"required"=>false,
						"type"=>"DisputeCreditEligibilityCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeExplanation"=>
					array(
						"required"=>false,
						"type"=>"DisputeExplanationCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeID"=>
					array(
						"required"=>false,
						"type"=>"DisputeIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeMessage"=>
					array(
						"required"=>false,
						"type"=>"DisputeMessageType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..*"
					),
				"DisputeModifiedTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeReason"=>
					array(
						"required"=>false,
						"type"=>"DisputeReasonCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeRecordType"=>
					array(
						"required"=>false,
						"type"=>"DisputeRecordTypeCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeResolution"=>
					array(
						"required"=>false,
						"type"=>"DisputeResolutionType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..*"
					),
				"DisputeState"=>
					array(
						"required"=>false,
						"type"=>"DisputeStateCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisputeStatus"=>
					array(
						"required"=>false,
						"type"=>"DisputeStatusCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Escalation"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Item"=>
					array(
						"required"=>false,
						"type"=>"ItemType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OrderLineItemID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OtherPartyName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OtherPartyRole"=>
					array(
						"required"=>false,
						"type"=>"TradingRoleCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PurchaseProtection"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SellerUserID"=>
					array(
						"required"=>false,
						"type"=>"UserIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"TransactionID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"UserRole"=>
					array(
						"required"=>false,
						"type"=>"TradingRoleCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
